package com.jrx.anytxn.transaction.dto.loan;

import com.jrx.anytxn.transaction.dto.common.CommonReq;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * @ClassName LoneQueryReq
 *  贷款查询请求(贷款明细、贷款状态、贷款计划查询请求实体)
 * @author  Administrator
 * date  2019/8/6 0006
 * @Version V1.0
 **/
public class LoanQueryReq extends CommonReq implements Serializable {

    /**
     * 订单编号
     */
    @ApiModelProperty(value = "订单编号")
    @NotEmpty(message = "订单编号不能为空")
    @Size(max=32, message = "订单编号不能超过32位")
    private String loanId;

    public String getLoanId() {
        return loanId;
    }

    public void setLoanId(String loanId) {
        this.loanId = loanId;
    }
}
